#include<stdio.h>
#include<omp.h>
int main(int argc,char* argv[]){
	#pragma omp parallel sections
	{
		#pragma omp section
		printf("section1,thread = %d\n",omp_get_thread_num());
		#pragma omp section
		printf("section2,thread = %d\n",omp_get_thread_num());
		
	}
	#pragma omp parallel sections
	{
		#pragma omp section
		printf("section3,thread = %d\n",omp_get_thread_num());
		#pragma omp section
		printf("section4,thread = %d\n",omp_get_thread_num());
	} 
} 
/*
Answer:
section2,thread = 2
section1,thread = 1
section3,thread = 3
section4,thread = 6
*/ 

/*
第二个sections要等 第一个sections执行完 
*/
